home *** CD-ROM | disk | FTP | other *** search
- Path: dna.cs.wustl.edu!not-for-mail
- From: liz@dna.cs.wustl.edu (Liz Hanks)
- Newsgroups: comp.lang.c++
- Subject: Re: Smart Pointer Implementation & question
- Date: 18 Jan 1996 14:18:27 -0600
- Organization: Washington University, St. Louis MO
- Message-ID: <4dm9uj$lam@dna.cs.wustl.edu>
- References: <4dfe36$d99@grid.direct.ca>
- NNTP-Posting-Host: dna.cs.wustl.edu
-
- In article <4dfe36$d99@grid.direct.ca>, Ken Clark <ken@direct.ca> wrote:
- >Hi. I have implemented a reference counting smart pointer class. It works
- >well, except that I can't get a basic behavior of normal pointers: automatic
- >casting of subclass pointers. Consider class shape and subclass circle. I
-
- [snip]
-
- You might want to check out:
- http://www.best.com/~edelson/pubs.html
- The article "Smart pointers: they're smart but they're not pointers"
- discusses your problem.
-
- ----------------------------------------------------------------
- Liz Hanks
- Department of Computer Science E-mail: liz@cs.wustl.edu
- Washington University http://www.cs.wustl.edu/~liz/
- ----------------------------------------------------------------
-